home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 2000 October / Software of the Month - Ultimate Collection Shareware 277.iso / pc / PROGRAMS / UTILITY / WINLINUX / DATA1.CAB / programs_-_include / ASM-SPAR.{_A / SCATTERL.{1K < prev    next >
Text File  |  1999-09-17  |  592b  |  20 lines

  1. /* $Id: scatterlist.h,v 1.6 1998/12/16 04:33:57 davem Exp $ */
  2. #ifndef _SPARC64_SCATTERLIST_H
  3. #define _SPARC64_SCATTERLIST_H
  4.  
  5. #include <asm/page.h>
  6.  
  7. struct scatterlist {
  8.     char *  address;    /* Location data is to be transferred to */
  9.     char * alt_address; /* Location of actual if address is a 
  10.              * dma indirect buffer.  NULL otherwise */
  11.     unsigned int length;
  12.  
  13.     __u32 dvma_address; /* A place to hang host-specific addresses at. */
  14. };
  15.  
  16. extern unsigned long phys_base;
  17. #define ISA_DMA_THRESHOLD (phys_base + (0xfe000000UL) + PAGE_OFFSET)
  18.  
  19. #endif /* !(_SPARC64_SCATTERLIST_H) */
  20.